#ifndef _SCSI_H
#define _SCSI_H

struct scsi_interface
{
    void *priv;
    char *name;
    // cppcheck-suppress unusedStructMember
    unsigned int devNr;
    unsigned int max_sectors;

    int (*get_max_lun)(struct scsi_interface *scsi);
    int (*queue_cmd)(struct scsi_interface *scsi, const unsigned char *cmd, unsigned int cmd_len, unsigned char *data, unsigned int data_len, unsigned int data_wr);
};

extern int scsi_init(void);
extern void scsi_connect(struct scsi_interface *scsi);
extern void scsi_disconnect(struct scsi_interface *scsi);

#endif
